package org.example.testdemo.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("department")
public class Department {

    @TableId("b_Code")
    private String bCode;//部门代码
    @TableField("b_Name")
    private String bName;//部门名称
    @TableField("creationTime")
    private LocalDateTime creationTime;//创建时间
    @TableField("changeTime")
    private LocalDateTime changeTime;//修改时间
}
